package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.DevicePhone;
import com.tf8.treasure.entity.DevicePhoneExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

@Mapper
public interface DevicePhoneMapper {
    int countByExample(DevicePhoneExample example);

    int deleteByExample(DevicePhoneExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DevicePhone record);

    int insertSelective(DevicePhone record);

    List<DevicePhone> selectByExample(DevicePhoneExample example);

    DevicePhone selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DevicePhone record, @Param("example") DevicePhoneExample example);

    int updateByExample(@Param("record") DevicePhone record, @Param("example") DevicePhoneExample example);

    int updateByPrimaryKeySelective(DevicePhone record);

    int updateByPrimaryKey(DevicePhone record);

    List<DevicePhone> selectPageByExample(@Param("example") DevicePhoneExample example, @Param("pageable") Pageable pageable);
}